/**
 * "Visual Paradigm: DO NOT MODIFY THIS FILE!"
 * 
 * This is an automatic generated file. It will be regenerated every time 
 * you generate persistence class.
 * 
 * Modifying its content may cause the program not work, or your work may lost.
 */

/**
 * Licensee: DuKe TeAm
 * License Type: Purchased
 */
package orm.dao;

import org.orm.*;
import orm.*;

public interface ProductoDAO {
	public Producto loadProductoByORMID(Integer idPdto) throws PersistentException;
	public Producto getProductoByORMID(Integer idPdto) throws PersistentException;
	public Producto loadProductoByORMID(Integer idPdto, org.hibernate.LockMode lockMode) throws PersistentException;
	public Producto getProductoByORMID(Integer idPdto, org.hibernate.LockMode lockMode) throws PersistentException;
	public Producto loadProductoByORMID(PersistentSession session, Integer idPdto) throws PersistentException;
	public Producto getProductoByORMID(PersistentSession session, Integer idPdto) throws PersistentException;
	public Producto loadProductoByORMID(PersistentSession session, Integer idPdto, org.hibernate.LockMode lockMode) throws PersistentException;
	public Producto getProductoByORMID(PersistentSession session, Integer idPdto, org.hibernate.LockMode lockMode) throws PersistentException;
	public Producto[] listProductoByQuery(String condition, String orderBy) throws PersistentException;
	public Producto[] listProductoByQuery(String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Producto[] listProductoByQuery(PersistentSession session, String condition, String orderBy) throws PersistentException;
	public Producto[] listProductoByQuery(PersistentSession session, String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Producto loadProductoByQuery(String condition, String orderBy) throws PersistentException;
	public Producto loadProductoByQuery(String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Producto loadProductoByQuery(PersistentSession session, String condition, String orderBy) throws PersistentException;
	public Producto loadProductoByQuery(PersistentSession session, String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Producto createProducto();
	public boolean save(orm.Producto producto) throws PersistentException;
	public boolean delete(orm.Producto producto) throws PersistentException;
	public boolean deleteAndDissociate(orm.Producto producto) throws PersistentException;
	public boolean deleteAndDissociate(orm.Producto producto, org.orm.PersistentSession session) throws PersistentException;
	public boolean refresh(orm.Producto producto) throws PersistentException;
	public boolean evict(orm.Producto producto) throws PersistentException;
	public Producto loadProductoByCriteria(ProductoCriteria productoCriteria);
	public Producto[] listProductoByCriteria(ProductoCriteria productoCriteria);
}
